package com.kadapatha.service.exception;


public class Message {
	public static enum MessageType {
		INFO, ERROR, WARNNING, FATAL;
	}

	private String messageString;
	private String code;
	private MessageType messageType;

	public Message(String message, String code, MessageType messageType) {
		this.messageString = message;
		this.code = code;
		this.messageType = messageType;
	}

	public String getMessageString() {
		return messageString;
	}

	public void setMessageString(String messageString) {
		this.messageString = messageString;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public MessageType getMessageType() {
		return messageType;
	}

	public void setMessageType(MessageType messageType) {
		this.messageType = messageType;
	}

}
